package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.Role;

/**
 * Service for Role logic
 * 
 * @author Fernand Perelli
 * 
 */
public interface RoleService {

	/**
	 * Save method
	 * 
	 * @param role
	 * @return Role
	 */
	public Role save(Role role);

	/**
	 * Update method
	 * 
	 * @param role
	 */
	public void update(Role role);

	/**
	 * Delete method
	 * 
	 * @param role
	 */
	public void delete(Role role);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return Role
	 */
	public Role findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<Role>
	 */
	public Collection<Role> findAll();
}
